#ifndef COMPUTER_HASH_H
#define COMPUTER_HASH_H

#include <stdio.h>
#include <limits.h>
#include <stdint.h>
#include <ctype.h>
#include <string.h>
#include <strings.h>
#include <errno.h>

#ifdef _WIN32
    #define strcasecmp _stricmp
	#define strncasecmp _strnicmp
#endif
#ifdef _MSC_VER
    #define strcasecmp _stricmp
	#define strncasecmp _strnicmp
#endif

void getRandomBytes(unsigned char *p, size_t len);
void getRandomHexChars(char *p, size_t len);
void getDataSignHexChars(char *dest,const char *p, size_t len);
void getSha1HexChars(char *dest,const  char *p, size_t len);
void getSha256HexChars(char *dest, const char *p, size_t len);
#endif //COMPUTER_HASH_H
